<script setup lang="ts">
import { RouterLink, RouterView, useRoute } from 'vue-router'
const $route = useRoute()
</script>

<template>

  <header>

<!-- <svgIcon name="test" color="green"></svgIcon> -->
    <!-- <nav>
      <RouterLink to="/">Home</RouterLink>
      <RouterLink to="/about">About</RouterLink>
    </nav> -->

  </header>
  <router-view v-if="!$route.meta.keepAlive"></router-view>
  <keep-alive>
    <router-view v-if="$route.meta.keepAlive"></router-view>
  </keep-alive>
</template>

<style scoped lang="scss"></style>
